package com.tank.dubbo.service;

import org.springframework.context.support.AbstractRefreshableConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

/**
 * Created with IntelliJ IDEA.
 * User: SuQiEr
 * Date:2017/9/28
 * Time: 18:23
 * To change this template use File | Settings | File Templates.
 */
public class Provider {

    public static void main(String[] args) throws Exception {
        AbstractRefreshableConfigApplicationContext context = new FileSystemXmlApplicationContext("E:\\workspace\\tank\\quiet-beauty\\quiet-jdk8\\src\\main\\java\\com\\tank\\dubbo\\service\\dubbo-demo-provider.xml");

        context.start();
        System.in.read(); // press any key to exit
    }

}
